﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Furion.Logging;

using SqlSugar;

namespace DemoUser.Core.Loggings
{
    public class DBLoggingWriter : IDatabaseLoggingWriter
    {
        private readonly ISqlSugarClient _client;

        public DBLoggingWriter(ISqlSugarClient client)
        {
            _client = client;
        }

        public void Write(LogMessage logMsg, bool flush)
        {
            //将日志写入数据库
        }
    }
}
